package cn.tedu.egmybatis2.mapper;

import cn.tedu.egmybatis2.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {


    int insert(Product product);

    int deleteById(Integer id);

    int updateByID(Product product);

    Product selectById(Integer id);

    List<Product> selectAll();

}
